<!DOCTYPE html>
<html>
<head>
	<title><{$account['name']}></title>
	<meta charset="utf-8"/>
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
	<!-- Mobile Devices Support @begin -->
	<meta content="application/xhtml+xml;charset=UTF-8" http-equiv="Content-Type"/>
	<meta content="no-cache,must-revalidate" http-equiv="Cache-Control"/>
	<meta content="no-cache" http-equiv="pragma"/>
	<meta content="0" http-equiv="expires"/>
	<meta content="telephone=no, address=no" name="format-detection"/>
	<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
	<meta name="apple-mobile-web-app-capable" content="yes" /> <!-- apple devices fullscreen -->
	<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
	<link rel="shortcut icon" href="/favicon.ico" />
	
	<meta name="description" content="<{$procurator_info['keyword']}>"/>
	<meta name="keywords" content="<{$procurator_info['description']}>"/>
	<link type="text/css" rel="stylesheet" href="__PUBLIC__/style/bootstrap.css"/>
	<link type="text/css" rel="stylesheet" href="__PUBLIC__/style/font-awesome.min.css" />
	<link type="text/css" rel="stylesheet" href="<{$resource_url}>css/common.mobile.css"/>
	<script type="text/javascript" src="__PUBLIC__/script/jquery-1.7.2.min.js"></script>
	<!--[if IE 7]>
	<link rel="stylesheet" href="__PUBLIC__/style/font-awesome-ie7.min.css">
	<![endif]-->

</head>
<body>

<link type="text/css" rel="stylesheet" href="<{$resource_url}>css/login.css">

<style>
/*触摸按钮*/
	.btn-success:hover,
	.btn-success:focus,
	.btn-success:active,
	.btn-success.active,
	.btn-success.disabled,
	.btn-success[disabled] {
	  color: #ffffff;
	  background-color: #cc0001;
	  *background-color: #499249;
	}
	
body{
	*background-color:#f2f2f2;
}

#pop_con{display:none;border:2px solid #EC885B;border-radius:5px;height:30px;margin:0 auto}

</style>

<div class="max_bg" style="max-width:640px;min-width:320px;margin:auto">

<div class="center">
    <div class="title_text">
        <div style="background-image:url('<{$resource_url}>images/tubiao.png');background-size:100% 100%;width:150px;height:120px;margin:0 auto"></div>
    </div>
    <div class="margin_box" id="margin_box">

		<div id="pop_con">
			<img src="<{$resource_url}>images/tongzhi.png" style="width:20px;margin:5px;float:left;">	
			<div class="pop_con_center" style="font-size:smaller;float:left;margin-top:7px;"></div>
		</div>
        <div class="login_x" style="display:block;">
			<div class="click_but">
                <input type="button" class="btn btn-success regtype_btn" ct="wx_regtype" value="使用微信登录"
                style="height:40px;font-size:20px;background-color:#44b549" onclick="accredit()">
            </div>
        </div>
    </div>
</div>


<script>
	function accredit(){
		$.ajax({
		   type: "POST",
		   url: "<{:U('Login/AccessLogin')}>",
		   success: function(msg){
			 if(msg.status){
			 	window.location.href=msg.url;
					
			 }else{
				$("#pop_con .pop_con_center").html(msg.info);
				pop_con(fedeOut_time);
				$('#over').show();
			 }
		   }
		});
	
	}

	//accredit();
</script>

	